package com.cuanbobox.bean;

import android.app.Activity;

public class AtyInfo {
    public static final int STATE_CREATE = 1;
    public static final int STATE_START = 2;
    public static final int STATE_RESUME = 3;
    public static final int STATE_PAUSE = 4;
    public static final int STATE_STOP = 5;
    public static final int STATE_DESTROY = 6;
    private Activity aty;
    private int state;

    public AtyInfo() {
    }

    public AtyInfo(Activity aty, int state) {
        this.aty = aty;
        this.state = state;
    }

    public Activity getAty() {
        return aty;
    }

    public void setAty(Activity aty) {
        this.aty = aty;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }
}
